package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Dish;
import org.apache.ibatis.annotations.Select;

public interface DishService {


    void save(Dish dish);

    Dish findByName(String name);

    @Select("select * from category c,dish d where c.`id`=d.`category_id`")
    R findPage(int page, int pageSize, String name);

    void del(String[] split);

    void tingy(String[] split);

    void qiy(String[] split);


}
